package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    PageInfo<TravelCommend> query(QueryObject qo);

    void save(TravelCommend entity);

    /**
     * 查出五篇最高的推荐文章
     * @return
     */
    List<TravelCommend> listTop5();

}
